var Mock = require('mockjs');

exports.response = function (req, res) {
    return Mock.mock({
        "msg": "OK",
        "code": 0,
        "data": {
            "field": [
                {
                    "name": "组合持仓股票市值加权（亿）",
                    "id": "marketValueWeighted"
                },
                {
                    "name": "年化换手率",
                    "id": "annualTurnoverRate"
                },
                {
                    "name": "P/E(TTM)",
                    "id": "pe"
                },
                {
                    "name": "PB",
                    "id": "pb"
                },
                {
                    "name": "ROE",
                    "id": "roe"
                }
            ],
            "list": [
                {
                    "marketValueWeighted": 2.55,
                    "annualTurnoverRate": 0.3,
                    "pe": 25.5,
                    "pb": 8.6,
                    "roe": 0.105
                }
            ]
        }
    })
}